<form action="{:request()->url()}" autocomplete="off" class="layui-form layui-card layui-form-pane" data-auto="true" method="post">
    <div class="layui-card-body padding-left-40">
        <div class="layui-form-item">
            <label class="layui-form-label">所属人</label>
            <div class="layui-input-block">
                <select class='layui-select' name="system_userid" lay-search="">
                    <option value=''>-- 全部 --</option>
                    {foreach $users as $c}
                    {eq name='c.id' value='$vo.system_userid|default=0'}
                    <option selected value='{$c.id}'>{$c.nickname}</option>
                    {else}
                    <option value='{$c.id}'>{$c.nickname}</option>
                    {/eq}{/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">app名称</label>
            <div class="layui-input-block">
                <input class="layui-input" name="app_name" required placeholder="请输入"  value='{$vo.app_name|default=""}'>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">app包名</label>
            <div class="layui-input-block">
                <input class="layui-input" name="app_package" required placeholder="请输入"  value='{$vo.app_package|default=""}'>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">versionCode</label>
            <div class="layui-input-block">
                <input class="layui-input" type="number" name="update_versioncode" required placeholder="请输入"  value='{$vo.update_versioncode|default=""}'>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">更新内容</label>
            <div class="layui-input-block">
                <input class="layui-input" name="update_message" required placeholder="请输入"  value='{$vo.update_message|default=""}'>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">appLOGO</label>
            <div class="layui-input-block">
                <input class="layui-input" required name="app_logo" pattern="^(https|http|/)" placeholder="请上传"   value='{$vo.app_logo|default=""}'>
                <a class="layui-icon layui-icon-upload input-right-icon" data-field="app_logo" data-file data-type="png,jpg,jpeg"></a>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客服二维码</label>
            <div class="layui-input-block">
                <input class="layui-input" required name="app_kefu_qrcode" pattern="^(https|http|/)" placeholder="请上传"   value='{$vo.app_kefu_qrcode|default=""}'>
                <a class="layui-icon layui-icon-upload input-right-icon" data-field="app_kefu_qrcode" data-file data-type="png,jpg,jpeg"></a>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">apk文件</label>
            <div class="layui-input-block">
                <input class="layui-input" required name="update_downloadurl" pattern="^(https|http|/)" placeholder="请上传"   value='{$vo.update_downloadurl|default=""}'>
                <a class="layui-icon layui-icon-upload input-right-icon" data-field="update_downloadurl" data-file data-type="apk"></a>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">关于我们</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入关于我们的内容" name="app_kefu_msg" class="layui-textarea">{$vo.app_kefu_msg|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入备注" name="remarks" class="layui-textarea">{$vo.remarks|default=''}</textarea>
            </div>
        </div>
    </div>
    <div class="hr-line-dashed"></div>
    {notempty name='vo.app_id'}<input name='app_id' type='hidden' value='{$vo.app_id}'>{/notempty}
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close data-confirm="确定要取消编辑吗？" type='button'>取消编辑</button>
    </div>
</form>

